@ECHO OFF

GOTO weiter
:setenv
SET "Path=%~dp0;%~dp0php;C:\Program Files\TortoiseSVN\bin;"
GOTO :EOF
:weiter

IF "%1" EQU "setenv" (
    ECHO.
    ECHO Setting environment for using SVN for Windows.
    CALL :setenv
) ELSE (
    SETLOCAL
    TITLE XAMPP for Windows
    PROMPT %username%@%computername%$S$P$_#$S
    START "" /B %COMSPEC% /K "%~f0" setenv
)
